<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>css block</title>
		<style type="text/css"> 
			a{
				text-decoration: none;
				width: 90px;
				height: 40px;
				border: 1px dashed gold;
				display: block;
				text-align: center;
				margin: 10px;
				line-height: 40px;/*文字居中*/
			}
		</style>
	</head>
	<body>
		<a href="#">淘宝</a>
		<a href="#">jd</a>
		<a href="#">oschina</a>
		<a href="#">博客中国</a>
	</body>
</html>